package com.ruoyi.blog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评论对象 biz_comment
 * 
 * @author wsa
 * @date 2019-10-20
 */
public class BizComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 被评论的文章或者页面的ID */
    private Long sid;

    /** 评论人的ID */
    private Long userId;

    /** 父级评论的id */
    private Long pid;

    /** 评论人的QQ（未登录用户） */
    private String qq;

    /** 评论人的昵称（未登录用户） */
    private String nickname;

    /** 评论人的头像地址 */
    private String avatar;

    /** 评论人的邮箱地址（未登录用户） */
    private String email;

    /** 评论人的网站地址（未登录用户） */
    private String url;

    /** 评论的状态 */
    @Excel(name = "评论的状态")
    private String status;

    /** 评论时的ip */
    @Excel(name = "评论时的ip")
    private String ip;

    /** 经度 */
    private String lng;

    /** 纬度 */
    private String lat;

    /** 评论时的地址 */
    private String address;

    /** 评论时的系统类型 */
    private String os;

    /** 评论时的系统的简称 */
    private String osShortName;

    /** 评论时的浏览器类型 */
    @Excel(name = "评论时的浏览器类型")
    private String browser;

    /** 评论时的浏览器的简称 */
    private String browserShortName;

    /** 评论的内容 */
    @Excel(name = "评论的内容")
    private String content;

    /** 支持（赞） */
    @Excel(name = "支持", readConverterExp = "赞=")
    private Integer support;

    /** 反对（踩） */
    @Excel(name = "反对", readConverterExp = "踩=")
    private Integer oppose;

    /** 备用1 */
    private String remarkcolumn1;

    /** 备用2 */
    private String remarkcolumn2;

    /** 备用3 */
    private String remarkcolumn3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSid(Long sid) 
    {
        this.sid = sid;
    }

    public Long getSid() 
    {
        return sid;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setQq(String qq) 
    {
        this.qq = qq;
    }

    public String getQq() 
    {
        return qq;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setLng(String lng) 
    {
        this.lng = lng;
    }

    public String getLng() 
    {
        return lng;
    }
    public void setLat(String lat) 
    {
        this.lat = lat;
    }

    public String getLat() 
    {
        return lat;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setOs(String os) 
    {
        this.os = os;
    }

    public String getOs() 
    {
        return os;
    }
    public void setOsShortName(String osShortName) 
    {
        this.osShortName = osShortName;
    }

    public String getOsShortName() 
    {
        return osShortName;
    }
    public void setBrowser(String browser) 
    {
        this.browser = browser;
    }

    public String getBrowser() 
    {
        return browser;
    }
    public void setBrowserShortName(String browserShortName) 
    {
        this.browserShortName = browserShortName;
    }

    public String getBrowserShortName() 
    {
        return browserShortName;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setSupport(Integer support) 
    {
        this.support = support;
    }

    public Integer getSupport() 
    {
        return support;
    }
    public void setOppose(Integer oppose) 
    {
        this.oppose = oppose;
    }

    public Integer getOppose() 
    {
        return oppose;
    }
    public void setRemarkcolumn1(String remarkcolumn1) 
    {
        this.remarkcolumn1 = remarkcolumn1;
    }

    public String getRemarkcolumn1() 
    {
        return remarkcolumn1;
    }
    public void setRemarkcolumn2(String remarkcolumn2) 
    {
        this.remarkcolumn2 = remarkcolumn2;
    }

    public String getRemarkcolumn2() 
    {
        return remarkcolumn2;
    }
    public void setRemarkcolumn3(String remarkcolumn3) 
    {
        this.remarkcolumn3 = remarkcolumn3;
    }

    public String getRemarkcolumn3() 
    {
        return remarkcolumn3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sid", getSid())
            .append("userId", getUserId())
            .append("pid", getPid())
            .append("qq", getQq())
            .append("nickname", getNickname())
            .append("avatar", getAvatar())
            .append("email", getEmail())
            .append("url", getUrl())
            .append("status", getStatus())
            .append("ip", getIp())
            .append("lng", getLng())
            .append("lat", getLat())
            .append("address", getAddress())
            .append("os", getOs())
            .append("osShortName", getOsShortName())
            .append("browser", getBrowser())
            .append("browserShortName", getBrowserShortName())
            .append("content", getContent())
            .append("remark", getRemark())
            .append("support", getSupport())
            .append("oppose", getOppose())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remarkcolumn1", getRemarkcolumn1())
            .append("remarkcolumn2", getRemarkcolumn2())
            .append("remarkcolumn3", getRemarkcolumn3())
            .toString();
    }
}
